<?php use_helper('I18N', 'Date') ?>

        <div id="alerts">
        </div>
        <div id="header">
            <h1>
              <a href="<?php echo url_for('homepage')?>asset/<?php echo $tweet_monitor->Asset->getId()?>/edit"><?php echo $tweet_monitor->Asset->getTitle()?></a>
              /
              <a href="<?php echo url_for('homepage')?>asset/<?php echo $tweet_monitor->Asset->getId()?>/edit"><?php echo $tweet_monitor->getQuery()?></a>
              /
              <?php echo __('Tweet List', array(), 'messages') ?>
            </h1>
        </div>

        <div id="content">

<?php include_partial('tweet/assets') ?>

<div id="sf_admin_container">
	
  <?php include_partial('tweet/flashes') ?>

  <div id="sf_admin_header">
    <?php include_partial('tweet/list_header', array('pager' => $pager)) ?>
  </div>

  <div id="sf_admin_content">
    <form action="<?php echo url_for('tweet_collection', array('action' => 'batch')) ?>" method="post">
    <?php include_partial('tweet/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper, 'tweet_monitor' => $tweet_monitor)) ?>
    </form>
  </div>

  <div id="sf_admin_footer">
    <?php include_partial('section_assets/list_footer', array('pager' => $pager)) ?>
  </div>
  
  <br />
  <a href="<?php echo url_for('homepage')?>tweet/<?php echo $tweet_monitor->getId()?>/ImportTweets">Import Tweets: <?php echo $tweet_monitor->getQuery()?></a>
  
</div>
